﻿@model Inovout.Account.Web.Models.SignInInfo


@using (Html.BeginForm("SignIn", "Account", new { returnUrl = ViewBag.ReturnUrl }))
{ 
@*@Html.AntiForgeryToken()*@
    @Html.ValidationSummary(true)
    <div class="wgt-l4">
        @Html.LabelFor(model => model.UserName, "用户名", new { @class = "w4", @for = "sign-username" })
        @Html.TextBoxFor(model => model.UserName, new { maxlength = 30, placeholder = "用户名", id = "sign-username" })
    </div>
    <div class="wgt-l4">
        @Html.LabelFor(model => model.Password, "密码", new { @class = "w4 paddingLeft-w1", @for = "sign-passwd" })
        @Html.EncryptPasswordFor(model => model.Password, new Dictionary<string, object>() { { "maxlength", "20" }, { "placeholder", "密码" }, { "id", "sign-passwd" } })
    </div>
    @Html.ValidationMessageFor(model => model.UserName)
    @Html.ValidationMessageFor(model => model.Password)
    <input type="submit" id="sign-sub" value="登录" />
}
<div class="one-samples">
    <div class="wgt createAccount">
        <div class="w-1" id="regSpan">
            <a href='@Url.Action("ForgetOptions", "Help", new { returnUrl = ViewBag.returnUrl })'>忘记密码？</a>
            <a href='@Url.Action("SignUp", "Person", new { returnUrl = ViewBag.ReturnUrl })'>立即注册</a>
        </div>
    </div>
</div>
<div class="many-users">
    <span>使用其他帐号登录</span>
</div>
@Html.Action("ExtensionalSignInList", new { ReturnUrl = ViewBag.ReturnUrl })
